import cv2

img = cv2.imread('dog.jpg')
print(img.shape)
print(img.shape[:2][::-1])
print(img.size)
print(img.dtype)
